package it.rikesh.aip2011.client.service;

import it.rikesh.aip2011.shared.model.Activity;
import it.rikesh.aip2011.shared.model.Hut;
import it.rikesh.aip2011.shared.model.Trail;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface HutServiceAsync {
    void getHutList(AsyncCallback<List<Hut>> callback);
    void getHutName(String id,AsyncCallback<String> callback);
    void getHutTitle(String id,AsyncCallback<String> callback);
    void getHutPosition(String id,AsyncCallback<String> callback);
    void getHutDDescription(String id,AsyncCallback<String> callback);
    void getHutImg(String id,AsyncCallback<String> callback);
    void getHutActivity(String id,AsyncCallback<List<Activity>> callback);
    void getHutTrail(String id,AsyncCallback<List<Trail>> callback);
    void getHutId(String name,AsyncCallback<String> callback);
}
